package com.xialing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xialing.controller.request.LinkGroupAddRequest;
import com.xialing.controller.request.LinkGroupUpdateRequest;
import com.xialing.model.LinkGroupDO;
import com.xialing.vo.LinkGroupVO;

import java.util.List;

/**
 * <p>
 * 短链接分组表 服务类
 * </p>
 *
 * @author 二当家小D
 * @since 2025-10-20
 */
public interface LinkGroupService extends IService<LinkGroupDO> {

    int add(LinkGroupAddRequest request);

    int delete(Long groupId);

    LinkGroupVO detail(Long groupId);

    List<LinkGroupVO> listAllGroup();

    int updateById(LinkGroupUpdateRequest linkGroupUpdateRequest);

}
